#include<stdio.h>
#include<stdlib.h>
#include<conio.h>

int main()
{
    int n;
    scanf("%d", &n);
    int *a = 0;
    a = (int*)malloc(n * sizeof(int));
    for (int i = 0; i < n; i++)
    {
        scanf("%d", &a[i]);
    }
    for (int j = n - 1; j >= 0; j--)
    {
        printf("%d", a[j]);
        if(j > 0)
        {
            printf(" ");
        }
    }
    free(a);
    return 0;
}